﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000565 RID: 1381
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightMatch3DataScRsp : IMessage<FightMatch3DataScRsp>, IMessage, IEquatable<FightMatch3DataScRsp>, IDeepCloneable<FightMatch3DataScRsp>, IBufferMessage
	{
		// Token: 0x170011BB RID: 4539
		// (get) Token: 0x06003E05 RID: 15877 RVA: 0x000AA6AB File Offset: 0x000A88AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightMatch3DataScRsp> Parser
		{
			get
			{
				return FightMatch3DataScRsp._parser;
			}
		}

		// Token: 0x170011BC RID: 4540
		// (get) Token: 0x06003E06 RID: 15878 RVA: 0x000AA6B2 File Offset: 0x000A88B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightMatch3DataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170011BD RID: 4541
		// (get) Token: 0x06003E07 RID: 15879 RVA: 0x000AA6C4 File Offset: 0x000A88C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightMatch3DataScRsp.Descriptor;
			}
		}

		// Token: 0x06003E08 RID: 15880 RVA: 0x000AA6CB File Offset: 0x000A88CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3DataScRsp()
		{
		}

		// Token: 0x06003E09 RID: 15881 RVA: 0x000AA6E0 File Offset: 0x000A88E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3DataScRsp(FightMatch3DataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.memberInfo_ = other.memberInfo_.Clone();
			this.data_ = ((other.data_ != null) ? other.data_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003E0A RID: 15882 RVA: 0x000AA73D File Offset: 0x000A893D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3DataScRsp Clone()
		{
			return new FightMatch3DataScRsp(this);
		}

		// Token: 0x170011BE RID: 4542
		// (get) Token: 0x06003E0B RID: 15883 RVA: 0x000AA745 File Offset: 0x000A8945
		// (set) Token: 0x06003E0C RID: 15884 RVA: 0x000AA74D File Offset: 0x000A894D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170011BF RID: 4543
		// (get) Token: 0x06003E0D RID: 15885 RVA: 0x000AA756 File Offset: 0x000A8956
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MemberInfo> MemberInfo
		{
			get
			{
				return this.memberInfo_;
			}
		}

		// Token: 0x170011C0 RID: 4544
		// (get) Token: 0x06003E0E RID: 15886 RVA: 0x000AA75E File Offset: 0x000A895E
		// (set) Token: 0x06003E0F RID: 15887 RVA: 0x000AA766 File Offset: 0x000A8966
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JDCEDDGFBGF Data
		{
			get
			{
				return this.data_;
			}
			set
			{
				this.data_ = value;
			}
		}

		// Token: 0x06003E10 RID: 15888 RVA: 0x000AA76F File Offset: 0x000A896F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightMatch3DataScRsp);
		}

		// Token: 0x06003E11 RID: 15889 RVA: 0x000AA780 File Offset: 0x000A8980
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightMatch3DataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.memberInfo_.Equals(other.memberInfo_) && object.Equals(this.Data, other.Data) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003E12 RID: 15890 RVA: 0x000AA7E4 File Offset: 0x000A89E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.memberInfo_.GetHashCode();
			if (this.data_ != null)
			{
				num ^= this.Data.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003E13 RID: 15891 RVA: 0x000AA847 File Offset: 0x000A8A47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003E14 RID: 15892 RVA: 0x000AA84F File Offset: 0x000A8A4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003E15 RID: 15893 RVA: 0x000AA858 File Offset: 0x000A8A58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.data_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.Data);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			this.memberInfo_.WriteTo(ref output, FightMatch3DataScRsp._repeated_memberInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003E16 RID: 15894 RVA: 0x000AA8C4 File Offset: 0x000A8AC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.memberInfo_.CalculateSize(FightMatch3DataScRsp._repeated_memberInfo_codec);
			if (this.data_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Data);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003E17 RID: 15895 RVA: 0x000AA930 File Offset: 0x000A8B30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightMatch3DataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.memberInfo_.Add(other.memberInfo_);
			if (other.data_ != null)
			{
				if (this.data_ == null)
				{
					this.Data = new JDCEDDGFBGF();
				}
				this.Data.MergeFrom(other.Data);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003E18 RID: 15896 RVA: 0x000AA9A9 File Offset: 0x000A8BA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003E19 RID: 15897 RVA: 0x000AA9B4 File Offset: 0x000A8BB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 72U)
					{
						if (num != 98U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.memberInfo_.AddEntriesFrom(ref input, FightMatch3DataScRsp._repeated_memberInfo_codec);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.data_ == null)
					{
						this.Data = new JDCEDDGFBGF();
					}
					input.ReadMessage(this.Data);
				}
			}
		}

		// Token: 0x04001898 RID: 6296
		private static readonly MessageParser<FightMatch3DataScRsp> _parser = new MessageParser<FightMatch3DataScRsp>(() => new FightMatch3DataScRsp());

		// Token: 0x04001899 RID: 6297
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400189A RID: 6298
		public const int RetcodeFieldNumber = 9;

		// Token: 0x0400189B RID: 6299
		private uint retcode_;

		// Token: 0x0400189C RID: 6300
		public const int MemberInfoFieldNumber = 12;

		// Token: 0x0400189D RID: 6301
		private static readonly FieldCodec<MemberInfo> _repeated_memberInfo_codec = FieldCodec.ForMessage<MemberInfo>(98U, EggLink.DanhengServer.Proto.MemberInfo.Parser);

		// Token: 0x0400189E RID: 6302
		private readonly RepeatedField<MemberInfo> memberInfo_ = new RepeatedField<MemberInfo>();

		// Token: 0x0400189F RID: 6303
		public const int DataFieldNumber = 8;

		// Token: 0x040018A0 RID: 6304
		private JDCEDDGFBGF data_;
	}
}
